<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:include="/back/common/css_js :: main"></div>
<div th:include="/back/common/header :: main"></div>
<div class="container">
    <form th:action="doMess" method="post" style="max-width: 400px; margin: 40px auto;">

        <div class="form-group">
            <label for="cname">姓名</label>
            <input type="text" id="cname" name="cname" class="form-control">
        </div>

        <div class="form-group">
            <label>性别</label><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <label>
                <input type="radio" name="sex" th:value="男">
            </label>男&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <label>
                <input type="radio" name="sex" th:value="女">
            </label>女
        </div>

        <div class="form-group">
            <label for="idCard">省份证</label>
            <input type="text" id="idCard" name="idCard" class="form-control">
        </div>

        <div class="form-group">
            <label for="mobile">电话</label>
            <input type="number" id="mobile" name="mobile" class="form-control">
        </div>

        <div class="form-group">
            <label for="checkin">是否入住</label>
            <input type="text" id="checkin" name="checkin" class="form-control" th:value="是">
        </div>

        <div class="form-group">
            <label for="checkinTime">入住时间</label>
            <input type="date" id="checkinTime" name="checkinTime" class="form-control">
        </div>

        <div class="form-group">
            <label for="outTime">退房时间</label>
            <input type="date" id="outTime" name="outTime" class="form-control" th:value="0000-00-00">
        </div>

        <div class="form-group">
            <label for="deposit">押金</label>
            <input type="number" id="deposit" name="deposit" class="form-control" th:value="40">
        </div>
        <input type="submit" class="btn btn-success" value="提交">
    </form>
</div>

</body>
</html>